package com.developmentReformProject.entity;

/***********************************************************************
 * name:管理员类
 * Module:  admin.java
 * Author:  胡志鹏
 * Purpose: Defines the Class admin
 ***********************************************************************/

import java.io.Serializable;
import java.util.*;


public class Admin implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 管理员编号
     */
    private Integer adminNo;
    /**
     * 管理员姓名
     */
    private String adminName;
    /**
     * 管理员权限
     */
    private Integer adminPower;
    /**
     * 管理员用户名
     */
    private String adminAccountNumber;
    /**
     * 管理员密码
     */
    private String adminPassword;
    /**
     * 管理员状态id
     */
    private Integer adminStateId;

    /** @pdOid c57cde95-7740-41a9-a9a4-746bb36d3854 */
    protected void finalize() {
        // TODO: implement
    }

    /**
     * 无参构造方法
     */
    public Admin() {
        // TODO: implement
    }

    public Admin(Integer adminNo, String adminName, Integer adminPower, String adminAccountNumber, String adminPassword, Integer adminStateId) {
        this.adminNo = adminNo;
        this.adminName = adminName;
        this.adminPower = adminPower;
        this.adminAccountNumber = adminAccountNumber;
        this.adminPassword =     adminPassword;
        this.adminStateId = adminStateId;
    }

    public Admin( String adminName, Integer adminPower, Integer adminStateId) {
        this.adminName = adminName;
        this.adminPower = adminPower;
        this.adminStateId = adminStateId;
    }

    public Admin(Integer adminNo, String adminPassword) {
        this.adminNo = adminNo;
        this.adminPassword = adminPassword;
    }

    public Admin(String adminPassword) {
        this.adminPassword = adminPassword;
    }

    public Admin(Integer adminStateId) {
        this.adminStateId = adminStateId;
    }

    /** @pdOid b07e7835-1e36-4fdf-8a1b-a691be150922 */
    public Integer getAdminNo() {
        return adminNo;
    }

    /** @param newAdminNo
     * @pdOid c03b4ca7-e9b3-492a-8b04-56f3064a3157 */
    public void setAdminNo(Integer newAdminNo) {
        adminNo = newAdminNo;
    }

    /** @pdOid 5e741df1-6953-4a2d-aa33-f3a412d2ece8 */
    public String getAdminName() {
        return adminName;
    }

    /** @param newAdminName
     * @pdOid 0740c6d7-cb47-4483-a4d9-a51ea04eef5c */
    public void setAdminName(String newAdminName) {
        adminName = newAdminName;
    }

    /** @pdOid d3208a5a-d3e5-4422-87dc-766ea1fa3ba5 */
    public Integer getAdminPower() {
        return adminPower;
    }

    /** @param newAdminPower
     * @pdOid fc7f4f2a-a1c2-4e00-a3ea-1e54d67ef882 */
    public void setAdminPower(Integer newAdminPower) {
        adminPower = newAdminPower;
    }

    /** @pdOid 540699ea-20dc-4c77-8566-d8369c259cd8 */
    public String getAdminAccountNumber() {
        return adminAccountNumber;
    }

    /** @param newAdminAccountNumber
     * @pdOid d8dad3b7-f3ee-47d3-86cc-7e881b54c27e */
    public void setAdminAccountNumber(String newAdminAccountNumber) {
        adminAccountNumber = newAdminAccountNumber;
    }

    /** @pdOid b9b3e7b7-64d3-4821-9202-02c31dd60eaf */
    public String getAdminPassword() {
        return adminPassword;
    }

    /** @param newAdminPassword
     * @pdOid 06b96507-8718-413e-8323-e55d88bfecba */
    public void setAdminPassword(String newAdminPassword) {
        adminPassword = newAdminPassword;
    }

    /** @pdOid cd486e49-3619-4e1d-80c7-b08702bccf0f */
    public Integer getAdminStateId() {
        return adminStateId;
    }

    /** @param newAdminStateId
     * @pdOid fc9376fc-7981-40d4-bcb3-8704a42f5f6d */
    public void setAdminStateId(Integer newAdminStateId) {
        adminStateId = newAdminStateId;
    }

}
